#ifndef QENUMPROPERTYEDITOR_H
#define QENUMPROPERTYEDITOR_H

#include "../shared/qcommonstruct.h"
#include "qabstractpropertyeditor.h"

#include <QComboBox>

class QAbstractProperty;

class PROPERTY_EDITORSHARED_EXPORT QEnumPropertyEditor : public QAbstractPropertyEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QEnumPropertyEditor(QAbstractProperty *property,QWidget *parent = 0);
    
signals:
    
protected slots:
    void    value_changed(int index);
    void    property_value_changed();
protected:
    ComboItems          m_items;
    QComboBox           *m_combobox;
};

#endif // QENUMPROPERTYEDITOR_H
